<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="pojo.*,dao.*,Service.*,Servlet.*,java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");
	Project p =(Project)session.getAttribute("P");
	String id=p.getId();
%>
<form  action="<%=request.getContextPath() %>/ProjectServlet" >
<input type="hidden" name="method" value="update"/>
序号：<input type="text" name="id" value="<%=id %>"><br/>
项目名称：<input type="text" name="pname" value=<%=p.getPname()%>><br/>
所属单位：<input type="text" name="unit" value="<%=p.getUnit()%>"/><br/>
负责人：<input type="text" name="principal" value="<%=p.getPrincipal()%>"/><br/>
项目状态：<input type="text" name="state" value="<%=p.getState()%>"/><br/>
立项日期：<input type="text" name="pdate" value="<%=p.getPdate()%>" placeholder="2002-12-26"/><br/>
合同经费：<input type="text" name="expenditure" value="<%=p.getExpenditure()%>"/><br/>
学科方向：<input type="text" name="direction" value="<%=p.getDirection() %>"/><br/>
贡献率：<input type="text" name="rate" value="<%=p.getRate() %>"/><br/>
<input type="submit" name="" value="提交"/>
<input type="reset" name="" value="重置"/>
</form>
</body>
</html>